﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace MotoGame.Estados
{
    public abstract class EstadoBase
    {
        public EstadoBase(MainGame game) 
        {
            Game = game;
        }

        public virtual void Start() { }
        public abstract void Update(GameTime gameTime);
        public abstract void Draw(GameTime gameTime, SpriteBatch spriteBatch);
        public virtual void Terminate() { }

        private MainGame game;
        public MainGame Game
        {
            get { return game; }
            private set { game = value; }
        }
    }
}
